package com.simple.piger.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.simple.piger.dto.resp.company.InviteCompanyJobRespDto;
import com.simple.piger.entity.InviteCompanyJob;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author baolw
 * @since 2020-02-06
 */
public interface InviteCompanyJobMapper extends BaseMapper<InviteCompanyJob> {

    List<InviteCompanyJobRespDto> list(@Param("pageNumber") Integer pageNumber, @Param("pageSize") Integer pageSize
            , @Param("name") String name, @Param("companyId")String companyId);

    int count(@Param("name") String name, @Param("companyId")String companyId);

    List<InviteCompanyJobRespDto> homePageList(@Param("pageNumber")Integer pageStart, @Param("pageSize")Integer limit, @Param("name")String name);

    int homePageListCount(@Param("name")String name);
}